//
//  SQHierarchyModel.h
//  energy
//
//  Created by 周曼迪 on 2021/7/7.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN


@interface SQHierarchyModelPersonnelArray : BaseModel
/**    "m_id":"8225",
 "m_name":"ceshi",
 "m_group":"1",
 "m_number":"测试"
},
}*/
@property (copy, nonatomic) NSString *m_id;
@property (copy, nonatomic) NSString *m_name;
@property (copy, nonatomic) NSString *m_group;
@property (copy, nonatomic) NSString *m_number;
@end




@interface SQHierarchyModelArray : BaseModel
/**  "os_id":"26",
 "os_name":"班组级B",
 "personnel":Array[6]
}*/
@property (copy, nonatomic) NSString *os_id;
@property (copy, nonatomic) NSString *os_name;
@property (strong, nonatomic) NSArray <SQHierarchyModelPersonnelArray *>*personnel;

@property (nonatomic,nullable,readonly) NSArray <NSString *> * nameArr;
@end



@interface SQHierarchyModel : BaseModel
@property (assign,nonatomic) NSInteger code;
//@property (copy,nonatomic) NSString * message;
@property (strong,nonatomic) NSArray <SQHierarchyModelArray *>*data;

@property (nonatomic,nullable,readonly) NSArray <NSString *> * nameArr;
@end

NS_ASSUME_NONNULL_END
